package com.zzyl.nursing.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * TODO
 *
 * @Author mr.zhao
 * @Date 2025/5/23 23:08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "查询时间段内预约数量")
@Builder
public class ReservationCountByTimeVo {

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "时间段")
	private LocalDateTime time;

	@ApiModelProperty(value = "数量")
	private Integer count;
}
